package com.lxlx.weixinlx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author liuhuan
 * @date 2020
 * @描述
 */
@Controller
public class IndexController {
    @RequestMapping("/")
    public ModelAndView root(){
        ModelAndView mv = new ModelAndView();
        mv.setViewName("index");
        mv.addObject("title","微信扫码测试");
        return mv;
    }

}
